<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos  -->
			<title>Docs for page makefont.php</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
						<script src="../media/lib/classTree.js"></script>
												<script language="javascript" type="text/javascript">
				var imgPlus = new Image();
				var imgMinus = new Image();
				imgPlus.src = "../media/images/plus.png";
				imgMinus.src = "../media/images/minus.png";
				
				function showNode(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
							var oImg = document.layers["img" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
							var oImg = document.all["img" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
							var oImg = document.getElementById("img" + Node);
									break;
							}
					oImg.src = imgMinus.src;
					oTable.style.display = "block";
				}
				
				function hideNode(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
							var oImg = document.layers["img" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
							var oImg = document.all["img" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
							var oImg = document.getElementById("img" + Node);
									break;
							}
					oImg.src = imgPlus.src;
					oTable.style.display = "none";
				}
				
				function nodeIsVisible(Node){
							switch(navigator.family){
								case 'nn4':
									// Nav 4.x code fork...
							var oTable = document.layers["span" + Node];
									break;
								case 'ie4':
									// IE 4/5 code fork...
							var oTable = document.all["span" + Node];
									break;
								case 'gecko':
									// Standards Compliant code fork...
							var oTable = document.getElementById("span" + Node);
									break;
							}
					return (oTable && oTable.style.display == "block");
				}
				
				function toggleNodeVisibility(Node){
					if (nodeIsVisible(Node)){
						hideNode(Node);
					}else{
						showNode(Node);
					}
				}
			</script>
					</head>
		<body>
			<div class="page-body">			
<h2 class="file-name"><img src="../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/libsPub/FPDF/font/makefont/makefont.php</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-functions">Functions</a>
			</div>
	<div class="info-box-body">	
		<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">filesource:</span> <a href="../__filesource/fsource_DomBase__libsPubFPDFfontmakefontmakefont.php.html">Source Code for this file</a></li>
			</ul>
		
			</div>
</div>
		

	
	
	
	<a name="sec-functions"></a>	
	<div class="info-box">
		<div class="info-box-title">Functions</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<span class="disabled">Functions</span>
		</div>
		<div class="info-box-body">	
			<a name="functionCheckTTF" id="functionCheckTTF"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">CheckTTF</span> (line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsPubFPDFfontmakefontmakefont.php.html#a253">253</a></span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			CheckTTF
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$file</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$file</span>			</li>
				</ul>
		
	
</div>
<a name="functionMakeFont" id="functionMakeFont"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">MakeFont</span> (line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsPubFPDFfontmakefontmakefont.php.html#a300">300</a></span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">*****************************************************************************</p>
<p class="description"><p>fontfile: path to TTF file (or empty string if not to be embedded)           *  afmfile:  path to AFM file                                                   *  enc:      font encoding (or empty string for symbolic fonts)                 *  patch:    optional patch for encoding                                        *  type:     font type if fontfile is empty                                     * *****************************************************************************</p></p>
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			MakeFont
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$fontfile</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$afmfile</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$enc</span> = <span class="var-default">&#039;cp1252&#039;</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$patch</span> = <span class="var-default">array()</span>], [<span class="var-type"></span>&nbsp;<span class="var-name">$type</span> = <span class="var-default">&#039;TrueType&#039;</span>])
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$fontfile</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$afmfile</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$enc</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$patch</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$type</span>			</li>
				</ul>
		
	
</div>
<a name="functionMakeFontDescriptor" id="functionMakeFontDescriptor"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">MakeFontDescriptor</span> (line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsPubFPDFfontmakefontmakefont.php.html#a137">137</a></span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			MakeFontDescriptor
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$fm</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$symbolic</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$fm</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$symbolic</span>			</li>
				</ul>
		
	
</div>
<a name="functionMakeFontEncoding" id="functionMakeFontEncoding"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">MakeFontEncoding</span> (line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsPubFPDFfontmakefontmakefont.php.html#a213">213</a></span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			MakeFontEncoding
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$map</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$map</span>			</li>
				</ul>
		
	
</div>
<a name="functionMakeWidthArray" id="functionMakeWidthArray"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">MakeWidthArray</span> (line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsPubFPDFfontmakefontmakefont.php.html#a188">188</a></span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			MakeWidthArray
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$fm</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$fm</span>			</li>
				</ul>
		
	
</div>
<a name="functionReadAFM" id="functionReadAFM"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">ReadAFM</span> (line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsPubFPDFfontmakefontmakefont.php.html#a36">36</a></span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			ReadAFM
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$file</span>, <span class="var-type"></span>&nbsp;<span class="var-name">&$map</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$file</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$map</span>			</li>
				</ul>
		
	
</div>
<a name="functionReadLong" id="functionReadLong"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">ReadLong</span> (line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsPubFPDFfontmakefontmakefont.php.html#a247">247</a></span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			ReadLong
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$f</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$f</span>			</li>
				</ul>
		
	
</div>
<a name="functionReadMap" id="functionReadMap"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">ReadMap</span> (line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsPubFPDFfontmakefontmakefont.php.html#a10">10</a></span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">*****************************************************************************</p>
<p class="description"><p>Utility to generate font definition files                                    *                                                                               *  Version: 1.14                                                                *  Date:    2008-08-03                                                          *  Author:  Olivier PLATHEY                                                     * *****************************************************************************</p></p>
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			ReadMap
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$enc</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$enc</span>			</li>
				</ul>
		
	
</div>
<a name="functionReadShort" id="functionReadShort"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">ReadShort</span> (line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsPubFPDFfontmakefontmakefont.php.html#a241">241</a></span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			ReadShort
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$f</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$f</span>			</li>
				</ul>
		
	
</div>
<a name="functionSaveToFile" id="functionSaveToFile"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">SaveToFile</span> (line <span class="line-number"><a href="../__filesource/fsource_DomBase__libsPubFPDFfontmakefontmakefont.php.html#a232">232</a></span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			SaveToFile
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$file</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$s</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$mode</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$file</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$s</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$mode</span>			</li>
				</ul>
		
	
</div>
		</div>
	</div>
	
	<p class="notes" id="credit">
		Documentation generated on Fri, 24 Sep 2010 21:15:04 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
	</p>
	</div></body>
</html>